package com.ruoyi.pack.domain.dto;

import java.util.List;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 围栏操作DTO
 * 
 * @author ruoyi
 */
public class FenceOperationDto
{
    /** 操作类型（create-新增 update-修改 delete-删除） */
    @NotBlank(message = "操作类型不能为空")
    private String operationType;

    /** 围栏ID（修改和删除操作时必填） */
    private Long fenceId;

    /** 围栏类型（1-多边形围栏 2-圆形围栏） */
    private String fenceType;



    /** 围栏坐标点列表 */
    private List<FencePointDto> points;

    public String getOperationType()
    {
        return operationType;
    }

    public void setOperationType(String operationType)
    {
        this.operationType = operationType;
    }

    public Long getFenceId()
    {
        return fenceId;
    }

    public void setFenceId(Long fenceId)
    {
        this.fenceId = fenceId;
    }

    public String getFenceType()
    {
        return fenceType;
    }

    public void setFenceType(String fenceType)
    {
        this.fenceType = fenceType;
    }



    public List<FencePointDto> getPoints()
    {
        return points;
    }

    public void setPoints(List<FencePointDto> points)
    {
        this.points = points;
    }
} 